/**
 * 网站具体类
 * @author liaosh
 * @date 2022-10-21 17:40
 */
public class ConcreteWebSite implements WebSite {
    public String webSiteName;

    public ConcreteWebSite(String webSiteName) {
        this.webSiteName = webSiteName;
    }

    @Override
    public void use(User z) {
        System.out.println("网站分类为：" + webSiteName + "，客户为：" + z.getName());
    }
}
